package org.jeecg.modules.complain.service;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.complain.entity.BaseCustomer;
import org.jeecg.modules.complain.entity.Repair;
import org.jeecg.modules.complain.entity.RepairConfig;
import org.jeecg.modules.complain.vo.RepairReport;
import org.jeecg.modules.system.entity.SysUser;

import java.util.List;

/**
 * @Description: 报修处理
 * @Author: jeecg-boot
 * @Date:   2019-07-29
 * @Version: V1.0
 */
public interface IRepairService extends IService<Repair> {
    Repair selectRepairDetail(String repairId);
    BaseCustomer selectByRoomId(String roomId);
    RepairConfig selectConfigByDepartId(String departId);
    Repair selectById(String id, String status);
    List<Repair>selectByStatus(String status);
    Integer updateRepairStatus(String repairId, Integer status);
    SysUser selectByUserId(String handId);
    RepairReport getRepairReport(String projectId);
    Repair selectByIds(String repairId);
    String findRoomInfo(String roomId);

    String selectProjectName(String projectId);

    String selectFloor(String roomId);


    List<Repair> selectRepairExport(Repair repair);
}
